<!DOCTYPE html>
<html>
<head>
	<title>MUKEFILE共享文件</title>

	<#include "common/headFile.ftl">

	<style type="text/css">
		.main-top,.btn{background-color: #8666b8}
		.main-title span{font-family: STHeiti}
		.upload{margin-right:20px;}
	</style>
	<script type="text/javascript">
		function searchUser(){
			//获取用户名
			var username = document.getElementById("search").value;
			//判断查询用户名是否为空
			if(username===""){
				new $.zui.Messager('请输入用户名关键字！', {
			       	icon: 'cloud-upload',// 定义消息图标
			       	type: 'warning',
			       	time:'1000'
			   	}).show();
				return false;
			}
			window.location.href="search?username="+username;
		}
	</script>
</head>
<body>
	<div class="main">

		<#--后台管理界面头部-->
		<#include "common/headNav.ftl">

		<div class="main-middle">

			<#--左侧菜单列表-->
			<#include "common/leftMenu.ftl">


			<div class="main-middle-right">
				<div class="main-middle-right-top">
				   <div class="upload"><a href="shareFile!showAllShareFile">
					<button class="btn" type="button">
						<i class="icon-cloud-upload"></i> 共享空间</button></a>
				   </div>
				   <div class="upload"><a href="javascript:void(0)" data-toggle="modal" data-target="#uploadFile">
					<button class="btn" type="button">
						<i class="icon-cloud-upload"></i> 上传至共享空间</button></a>
				   </div>
				   <div class="file-search">
					
				   </div>
				</div>
				<div class="main-middle-right-top2">
					<span><a href="shareFile!showAllShareFile"><i>共享文件列表</i></a></span>
					<i style="color:red;font-weight:bold;font-size:16px;">${msg! }</i>
				</div>
				<div class="main-middle-right-content">
					<div class="file-list">
						<div class="table-not-scroll">
						<table class="table">
						  <thead>
						    <tr>
						      <th width="300">文件名</th>
						      <th width="200">文件大小</th>
						      <th width="200">上传时间</th>
						      <th width="200">上传人</th>
						      <th>操作</th>
						    </tr>
						  </thead>
						 </table>
						 </div>
						 <div class="table-scroll">
							<#include "dialog/upFileShare.ftl" >
						</div>
					</div>
				</div>
			</div>
		</div>


		<#-- 	底部		-->
		<#include "common/bottom.ftl">
	</div>
</body>
</html>